package com.sx.dao;

import com.sx.pojo.OptionRecords;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public interface OptionRecordDao {
    //获取操作记录表最大ID
    String getMaxOperationRecordId();
    //添加操作记录
    void addOptionRecord(String operationRecordId, String personId, String personName, String beOption, String afOption, LocalDateTime dateTime, int flag, int type);
    //获取所有操作记录
    ArrayList<OptionRecords> getAllOptionRecord();
    //删除操作记录
    boolean deleteOptionRecordById(String id);
    //获取过滤后的操作记录
    List<OptionRecords> getFilteredOptionRecords(String startDate, String endDate, String operatorId, String operationType, String tableType);
}
